import request from '@/utils/request'

// 查询招聘-收藏列表
export function listRecruitCollect(query) {
  return request({
    url: '/member/recruitCollect/list',
    method: 'get',
    params: query
  })
}

// 查询招聘-收藏详细
export function getRecruitCollect(id) {
  return request({
    url: '/member/recruitCollect/' + id,
    method: 'get'
  })
}

// 新增招聘-收藏
export function addRecruitCollect(data) {
  return request({
    url: '/member/recruitCollect',
    method: 'post',
    data: data
  })
}

// 修改招聘-收藏
export function updateRecruitCollect(data) {
  return request({
    url: '/member/recruitCollect',
    method: 'put',
    data: data
  })
}

// 删除招聘-收藏
export function delRecruitCollect(id) {
  return request({
    url: '/member/recruitCollect/' + id,
    method: 'delete'
  })
}

// 导出招聘-收藏
export function exportRecruitCollect(query) {
  return request({
    url: '/member/recruitCollect/export',
    method: 'get',
    params: query
  })
}